/**标题**/
.__h1,
.__h2,
.__h3,
.__h4,
.__h5,
.__h6 {
  font-weight: bold;
}

/**设置行间元素样式**/
.__span,
.__b,
.__strong,
.__i,
.__em,
.__code,
.__sub,
.__sup,
.__g-emoji,
.__mark,
.__ins {
  display:inline;
}

.__h1 {
  border-bottom-style: double;
  border-bottom-width: 6rpx;
  font-size: 42rpx;
  padding-bottom: 10rpx;
  margin-bottom: 20rpx;
}

.__h2 {
  border-bottom-style: solid;
  border-bottom-width: 1rpx;
  font-size: 40rpx;
  padding-bottom: 8rpx;
  margin-bottom: 18rpx;
}

.__h3 {
  font-size: 38rpx;
  padding-bottom: 6rpx;
  margin-bottom: 12rpx;
}

.__h4 {
  font-size: 36rpx;
  padding-bottom: 4rpx;
  margin-bottom: 12rpx;
}

.__h5 {
  font-size: 34rpx;
  padding-bottom: 2rpx;
  margin-bottom: 12rpx;
}

.__h6 {
  margin-bottom: 12rpx;
}


/**表格**/
.__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  margin-bottom: 40rpx;
}

.__table .__tr:nth-child(2n) {
  background-color: red;
}

.__colgroup {
  display: table-column-group;
}

.__col {
  display: table-column;
}

.__thead {
  display: table-header-group;
}

.__tbody {
  display: table-row-group;
}

.__tfoot {
  display: table-footer-group;
}

.__tr {
  display: table-row;
}

.__th,
.__td {
  padding: 8rpx 16rpx;
  font-size: 28rpx;
  border-width: 1rpx;
  border-style: solid;
  display: table-cell;
}

.__th {
  font-weight: bold;
}

/**代码块**/
.__pre {
  /*white-space:nowrap;*/
  padding: 20rpx;
  font-size: 28rpx;
  word-break: normal;
  border-width: 1rpx;
  border-style: solid;
  margin-bottom: 40rpx;
  white-space: nowrap;
  overflow-x: auto;
  tab-size:4;
}

.__pre .__code {
  padding: 0;
  border: 0;
  font-size: 100%;
}

.__pre,
.__code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, "STHeitiTC-Light", "Microsoft YaHei Light", -apple-system, system-ui, BlinkMacSystemFont;
}

.__code {
  padding: 4rpx 8rpx;
  margin: 0 4rpx;
  border-width: 1rpx;
  border-style: solid;
  border-radius: 8rpx;
  font-size: 80%;
  overflow-x: auto;
}

.__pre .__span,
.__pre .__a,
.__pre .__span,
.__pre .__b,
.__pre .__strong,
.__pre .__i,
.__pre .__em {
  display: inline;
}

.__pre {
  white-space: pre;
  display: block;
}

.__pre .__code {
  white-space: pre;
  width: 9999px;
  display: block;
  font-size: 80%;
}

/**列表**/
.__ul,
.__ol {
  margin-bottom: 40rpx;
}

.__ul .__ol,
.__ol .__ul {
  margin-bottom: 0;
}

.__li {
  display: list-item;
}

/**todo**/
.__todogroup {
  margin-bottom: 40rpx;
}

.__todogroup .__todogroup {
  padding-left: 1.6rem;
}

/**一级ol样式**/
.__ol {
  list-style-type: decimal;
}

/**二级ol样式**/
.__ul .__ol,
.__ol .__ol {
  list-style-type: lower-roman;
}

/**三级ol样式**/
.__ul .__ul .__ol,
.__ul .__ol .__ol,
.__ol .__ul .__ol,
.__ol .__ol .__ol {
  list-style-type: lower-alpha;
}

/**一级ul样式**/
.__ul {
  list-style-type: disc;
}

/**二级ul样式**/
.__ul .__ul,
.__ol .__ul {
  list-style-type: circle;
}

/**三级样式**/
.__ol .__ol .__ul,
.__ol .__ul .__ul,
.__ul .__ol .__ul,
.__ul .__ul .__ul {
  list-style-type: square;
}

/**块元素**/
.__p {
  margin: 20rpx 0 20rpx 0;
  /*word-wrap:break-word;
  word-break:break-all;*/
  /*text-align:justify;*/
}

.__div {
  /*text-align:justify;*/
}

.__blockquote {
  padding: 6rpx 20rpx;
  margin-bottom: 20rpx;
  border-left-width: 8rpx;
  border-left-style: solid;
  border-left-color: var(--theme-color);
  background-color: var(--box-back-color);
}

/**内连元素**/
.__a,
.__span,
.__b,
.__strong,
.__i,
.__em {
  display: inline;
}

.__b,
.__strong {
  font-weight: bold;
}

.__i,
.__em {
  font-style: italic;
}

/**文本删除线**/
.__s,
.__strike,
.__del {
  text-decoration: line-through;
}

/**文本下划线**/
.__ins,
.__u {
  text-decoration: underline;
}

/**链接**/
.__a {
  margin: 0 8rpx;
  border-bottom-width: 1rpx;
  border-bottom-style: solid;
  line-height: 1;
}

.__hr {
  height: 8rpx;
  margin: 40rpx 0;
}

/**荧光标记**/
.__mark {
  border-radius: 4rpx;
}

/**上标、下标**/
.__sup,
.__sub {
  font-size: 75%;
  position: relative;
}

.__sup {
  top: -0.5em;
}

.__sub {
  bottom: -0.25em;
}

/**emoji表情**/
.__g-emoji {
  margin: 0 0.1em;
  font-family: "Apple Color Emoji", "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol";
}

/**内置元素**/
image,video {
  max-width: 100%;
}


video {
  width:100%; margin: 10rpx auto;
}

image {
  height:auto; vertical-align:middle;
}

video {
  height:220px; font-size:0;
}

.__latex--line {margin:4rpx 8rpx; vertical-align:middle;}
.__latex--block {display:block; margin:1em auto;}

.__yuml {display:block;}

.__yumlBox {
  width:100%;
  overflow-x:auto;
}
.__yumlView {
  margin:0 auto; padding-bottom:40rpx;
}

/**代码行号**/
.__lineNum {
  text-align:right; float:left; padding:0; margin:0 1em 0 0;
}
.__lineNumLine {
  list-style:none;
}
